//
//  LS_ListDataBase.h
//  App_6.23
//
//  Created by 芦珊 on 16/7/1.
//  Copyright © 2016年 lushan. All rights reserved.
//

#import <Foundation/Foundation.h>
@class WH_Home;

@interface LS_ListDataBase : NSObject

+ (instancetype)shareDataBase;

- (void)openDB;  //打开数据库
- (void)createTable;   //建标
- (void)insertHome:(NSString *)product_id image:(NSString *)product_image name:(NSString *)product_name user:(NSString *)userName;   //插入(产品id,产品图片,产品名字,用户名)
- (NSMutableArray *)selectHomeArray:(NSString *)userName;  //查找(通过用户名)
- (NSMutableArray *)selectHomeList:(NSString *)userName name:(NSString *)product_name;   //查找(通过用户名和产品名)
- (void)deleteHome:(NSString *)product_name user:(NSString *)userName;   //删除(通过用户名和产品名)


@end
